<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("taskInfo.taskInfoProjectId"))
  </label>
  <div class="col-sm-9">
    <input type="hidden" name="taskInfo.id" value="#(taskinfo.id ??)" id="id"/>
    <input type="hidden" name="projectInfo.project_id" value="#(projectinfo.project_id ??)" project_id="projectId"/>
    #modeltag({tagcode:"jxbrms_jfinal_projectinfo_list"})
    <select class="form-control m-b" name="taskInfo.project_id">
      #for(x : projectinfo_list)
      <option value="#(x.project_id)" #if((taskinfo.project_id ??) == x.project_id) selected #end>#(x.project_name)</option>
      #end
    </select>
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("taskInfo.taskInfoName"))
  </label>
  <div class="col-sm-9">
    <input type="text" jtag='#jx_msg({key:"taskInfo.taskInfoName"})' class="form-control" name="taskInfo.task_name" value="#(taskinfo.task_name ??)" id="taskName"  class="form-control">
  </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("taskInfo.taskInfoDescMark"))
  </label>
  <div class="col-sm-9">
    <input type="text" jtag='#jx_msg({key:"taskInfo.taskInfoDescMark"})' class="form-control" name="taskInfo.desc_mark" value="#(taskinfo.desc_mark ??)" id="descMark"  class="form-control">
  </div>

</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("taskInfo.taskInfoTimes"))
  </label>
  <div class="col-sm-9">
    <input type="text" jtag='#jx_msg({key:"taskInfo.taskInfoTimes"})' class="form-control" name="taskInfo.times" value="#(taskinfo.times ??)" id="times"  class="form-control">
  </div>

</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("taskInfo.taskInfoJob"))
  </label>
  <div class="col-sm-9">
    <input type="text" jtag='#jx_msg({key:"taskInfo.taskInfoJob"})' class="form-control" name="taskInfo.job" value="#(taskinfo.job ??)" id="job"  class="form-control">
  </div>

</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("taskInfo.taskInfoCron"))
  </label>
  <div class="col-sm-9">
    <input type="text" 
           readonly
           name="cron"
           id="cron"
           class="form-control"
           timefor="cron"
           value='#jx_datetime({date:taskinfo.cron ??,infmt:"long",outfmt:"yyyy-MM-dd HH:mm"})' 
           onclick="WdatePicker({dateFmt: 'yyyy-MM-dd HH:mm:ss', realDateFmt: 'yyyy-MM-dd HH:mm:ss'})" 
           />
  </div>

</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
  <label class="col-sm-2 control-label">
    #(jxrb.message("taskInfo.taskInfoEnables"))
  </label>
  <div class="col-sm-9">
    <select class="form-control" name="taskInfo.enables">
      <option value="1" #if((taskinfo.enables ??) == '1') selected #end>执行</option>
      <option value="2" #if((taskinfo.enables ??) == '2') selected #end>不执行</option>
    </select>

  </div>
</div>
<div class="hr-line-dashed"></div>
